Implement fastboot continue when omitting boot img from cdba command line #66
+63
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
One thing I find handy is being able to fastboot continue.
My typical workflow is compile/edit whatever then boot the default image on the target board, populate modules on either the rootfs or on a sd card, then reboot to fastboot again.
On the subsequent reboot fastboot into the rootfs with the kernel image I've compiled.
I find this a handy way to always have a default recovery image on the board I can boot.
This series makes the boot.img non-mandatory when invoking cdba.
In this case cdba will issue a new MSG_FASTBOOT_CONTINUE command to cdba-server.
Unsurprisingly MSG_FASTBOOT_CONTINUE => "fastboot continue" on the cdba-server side.
This still works ie "fastboot download; fastboot boot"
cdba -b db410c -h benchtop-cdba ./qlt-kernel/build/square_5.x-tracking/boot_t2a.img
If you drop the boot image though the flow is "fastboot continue"
cdba -b db410c -h benchtop-cdba
My test system
devices:
qcomlt_debug_board: /dev/serial/by-id/usb-Linaro_DebugBoard_68cb7c6b75a4451502020223236460ff-if00
console: /dev/serial/by-id/usb-Linaro_DebugBoard_68cb7c6b75a4451502020223236460ff-if02
name: "db410c"
fastboot: 1dcd2e70
fastboot_set_active: true
fastboot_key_timeout: 5